using System;
using Microsoft.SPOT;
using GHIElectronics.NETMF.Hardware;
using GHIElectronics.NETMF.FEZ;
using Microsoft.SPOT.Hardware;

namespace FEZ_Panda_II_Application1
{

    public static class AstoXPinMap
    {
        public  const AnalogIn.Pin X18G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An0;
        public  const AnalogIn.Pin Y18G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An1;
        public  const AnalogIn.Pin X5G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An2;
        public  const AnalogIn.Pin Y5G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An3;
        public  const AnalogIn.Pin Z250G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An4;
        public  const AnalogIn.Pin Z18G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An5;

        //TXD Pin0
        //RXD Pin1
        public  const Cpu.Pin GSEPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di2;
        public  const Cpu.Pin LaunchPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di3;
        public  const Cpu.Pin ExtendPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di4;
        public  const Cpu.Pin RetractPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di5;
        public  const Cpu.Pin PowerPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di36;
        public  const Cpu.Pin MotorDirPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di7;
        public  const PWM.Pin MotorPWMPin = (PWM.Pin)FEZ_Pin.PWM.Di8;
        public  const Cpu.Pin InternalTempPin = (Cpu.Pin)FEZ_Pin.Digital.Di9;
        public  const Cpu.Pin ExternalTempPin = (Cpu.Pin)FEZ_Pin.Digital.Di10;
                
    }
}
